Skip to content

fix: initalise sucess var before its used#212

Closed
distributedstatemachine wants to merge 1 commit intoopentensor:mainfrom
distributedstatemachine:fix/pow_registrations
Closed

fix: initalise sucess var before its used#212
distributedstatemachine wants to merge 1 commit intoopentensor:mainfrom
distributedstatemachine:fix/pow_registrations

Conversation

@distributedstatemachine
Copy link
Contributor

POW registrations fail because we dont initialise success before we use it.

                            │ │
│ │                wallet = name: 'default', hotkey: 'foo', path: '~//home/ubuntu/.bittensor/wallets/'    │ │
│ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────╯ │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────╯
UnboundLocalError: local variable 'success' referenced before assignment

@thewhaleking
Copy link
Contributor

This is already fixed in staging #189

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants